home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
H-I
/
HyperHackers.cpt
/
Hyper-Hackers Queue 1.0
/
card_18445.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
938b
|
40 lines
-- card: 18445 from stack: in.0
-- bmap block id: 0
-- flags: 0000
-- background id: 3797
-- name:
-- part contents for background part 1
----- text -----
From: sysop@stech.UUCP (Jan Harrington)
Date: 27 Feb 88 12:21:16 GMT
> My problem is that the button contains the following script: (in part)
> repeat with the number of cards of this bkgnd
> ...do the checking
> end repeat
> Problem is, this doesn't work, and HC chokes on the "of this bkgnd".
> For my music stack this isn't a major problem... I only have one bkgnd,
> so I just took out the "of this bkgnd" part of the button script. that works
> fine.
Sometimes you have to put a quantity into a container all of its own to use
it in a repeat statement. Try something like:
put the number of cards of this background into NumbCards
repeat with NumbCards ...
end repeat
-- part contents for background part 45
----- text -----
Re: "Repeat with...." question